<template>
	<view>
		<u-navbar title="设置" @custom-back="to_my"></u-navbar>
		<view style="height: 10rpx;"></view>
		<view>
			<button style="background-color: #FFFFFF;color: #808080;" @click="bindLogout">退出当前账号</button>
		</view>
	</view>
</template>

<script>
	import {
		mapMutations
	} from 'vuex';
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			...mapMutations(['logout']),
			bindLogout() {
				this.logout()
			},
			to_my() {
				uni.switchTab({
					url:'my'
				})
			}
		}
	}
</script>

<style>

</style>
